home *** CD-ROM | disk | FTP | other *** search
- %%BeginResource: procset Cerilica_VantageEPS 0.52 0
- %%Title: (Vantage EPS procedures)
- %%Version: 0.52 0
- %%CreationDate: (99/4/7) () % (7-Apr-1999)
- %%Copyright: ((C) 1998 Cerilica All Rights Reserved)
- %%Author: (Simon Birtwistle)
- userdict /Vantage_EPS 85 dict dup begin put
-
- /bd{bind def}bind def
- /initialize{Vantage_EPS begin}bd
- /terminate{currentdict Vantage_EPS eq{end}if}bd
- /version{0.52}bd
- /pops{{pop}repeat}bd
-
- /pagesave null def
- /beginpage{/pagesave save store}bd
- /endpage{
- pagesave restore
- /pagesave null store
- gsave annotatepage showpage grestore
- }def
-
- /_paths 0 def
- /_pt 0 def % path: b0=fill, b1=stroke
- /_eo true def % winding rule true=eofill
- /_ft 0 def % fill type 0=flat
- /_fc 4 array def % fill colour
- /_sc 4 array def % stroke colour
- /_fo false def /_so false def % overprinting
-
- /k{_fc astore pop /_ft 0 store}bd
- /K{_sc astore pop}bd
- /x{1 exch sub 4{dup 6 index mul exch}repeat pop k 5 pops}bd
- /X{1 exch sub 4{dup 6 index mul exch}repeat pop K 5 pops}bd
- /setcmykcolor where{
- /setcmykcolor get /sc exch def
- }{
- /sc{
- 3{dup 3 1 roll add 1 exch sub 4 1 roll}repeat pop
- setrgbcolor
- }bd
- }ifelse
- /setoverprint where{
- /setoverprint get /so exch def
- }{
- /so{pop}bd
- }ifelse
- /sfc{_fo so _fc aload pop sc}bd
- /ssc{_so so _sc aload pop sc}bd
- /W{/_ft -2 store}bd
- /q{gsave}bd
- /Q{grestore}bd
-
- /cutout{
- currentflat
- {gsave
- {flattenpath _eo{eoclip}{clip}ifelse}stopped
- {grestore currentflat dup 100 ge{pop exit}if
- 2 mul dup 100 gt{pop 100}if setflat
- }{grestore exit}ifelse
- }loop
- flattenpath _eo{eoclip}{clip}ifelse newpath
- setflat
- }bd
-
- /fillpath{_ft
- dup -2 eq{cutout /_ft -1 store}if
- dup 0 eq{sfc _eo{eofill}{fill}ifelse}if
- dup 1 eq{}if
- 2 eq{}if
- }bd
-
- /showpath{_paths 1 lt{_pt
- _ft -2 eq{_eo{eoclip}{clip}ifelse /_ft -1 store pop 0}if
- dup 1 and 1 eq{gsave fillpath grestore}if
- 2 and 2 eq{ssc stroke}if
- newpath}if
- }bd
-
- /O{0 ne /_fo exch store}bd
- /R{0 ne /_so exch store}bd
- /eo{0 ne /_eo exch store}bd
-
- /u{}bd % start of group
- /U{}bd % end of group
- /*u{/_paths _paths 1 add store}bd % start of composite path
- /*U{/_paths _paths 1 sub store showpath}bd % end of composite path
-
- /H{}bd
- /h{closepath}bd
- /N{/_pt 0 store showpath}bd
- /n{closepath N}bd
- /F{/_pt 1 store showpath}bd
- /f{closepath F}bd
- /S{/_pt 2 store showpath}bd
- /s{closepath S}bd
- /B{/_pt 3 store showpath}bd
- /b{closepath B}bd
-
- /annotatepage dup where{pop pop}{{}bd}ifelse
-
- /j{setlinejoin}bd
- /J{setlinecap}bd
- /Js{pop pop pop 0 J}bd
- /Je{pop pop pop 0 J}bd
- /w{abs setlinewidth}bd
- /d{setdash}bd
- /M{setmiterlimit}bd
-
- /setstrokeadjust where
- {pop
- /sa{}bd
- /m{moveto}bd
- /l{lineto}bd
- /c{curveto}bd
- true setstrokeadjust
- }{
- /sa{transform .25 sub round .25 add exch
- .25 sub round .25 add exch itransform}bd
- /m{sa moveto}bd
- /l{sa lineto}bd
- /c{3{sa 6 2 roll}repeat curveto}bd
- }ifelse
- /L{l}bd
- /C{c}bd
-
- /t{gsave 6 array astore concat}bd
- /T{grestore}bd
-
- /_save [] def
- /_stack 0 def
- /_count 0 def
-
- /^{
- /_save save store
- /_stack countdictstack store
- /_count count 11 sub store
- userdict begin
- /showpage{}def
- 0 setgray 0 setlinecap
- 1 setlinewidth 0 setlinejoin
- 10 setmiterlimit []0 setdash newpath
- /languagelevel where{pop
- languagelevel 1 ne{
- false setstrokeadjust false setoverprint
- }if
- }if
- 4 index sub exch 5 index sub exch 4 2 roll
- 4 index sub exch 5 index sub exch 6 4 roll
- 6 array astore concat
- 0 0 moveto 1 0 lineto 1 1 lineto 0 1 lineto closepath clip
- newpath 1 exch div exch 1 exch div exch scale
- exch neg exch neg translate
- }bd
-
- /~{
- count _count sub pops
- countdictstack _stack sub{end}repeat
- _save restore
- }bind def
-
- end
- %%EndResource
-
-